<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="${pageContext.request.contextPath }/js/JQuery.js" type="text/javascript" charset="utf-8"></script>
<title>Insert title here</title>
</head>
<body>
<h1 class="hh">444</h1>
<h1 class="hh">${account_id}</h1>
</body>
<script type="text/javascript">
$(".hh").click(function(){
	var params={
			account_id:'506421342',
			account_password:'506421342',
			account_type:'1'
	}
	$.post("${pageContext.request.contextPath}/consumer/logins",params,function(data){
		if(data == "true"|| data==true){
			alert("修改成功");
		}else{
			alert("修改失败");
		}
	});
});

</script>
</html>